﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenExpressApp.Types;
using OpenExpressApp.MetaAttribute;

namespace OpenExpressApp
{
    /// <summary>
    /// 查询对象集合
    /// 
    /// 里面装载了可以进行查询的主类型
    /// </summary>
    public abstract class BaseQueryObject
    {
        public IList<QueryObjectAttribute> QueryObjects
        {
            get
            {
                return ApplicationModel.GetBusinessObjectInfo(this.GetType()).QueryObjects;
            }
        }
    }
}
